const nodemailer = require("nodemailer");

//开启SMTp连接池
const transport = nodemailer.createTransport({
  service: "qq", 
  secure: true, //开启SSL协议
  port: 465, //QQ邮箱的端口
  secureConnection: true,
  auth: {
    user: "2639776795@qq.com", //发送发qq邮箱
    pass: "qmfdzwapvqwadije", //授权码
  },
});

module.exports = transport;
